{config_load file="$language/lang.conf" section="create_account"}
<div id="maincontent">
<h3 class="ntitle">
<img src="{$tpl_path}images/ntitlebg.png" alt="" width="43" height="39">{#heading_create_account#}</h3><hr />

{if $error!=''}
<div class="warning">
	<div>{$error}</div>
</div>
{/if}
<div class="clr"></div>
<br>
<div class="info">
	<div>{#text_must#}</div>
</div>
<br />
<strong>{#title_personal#}</strong>
<div>
{$FORM_ACTION}

{if $gender=='1'}
<div class="left"><label for="gender" title="{$ENTRY_GENDER_ERROR}">{#text_gender#}</label></div>
<div class="center">
{$INPUT_MALE}<br />{$INPUT_FEMALE}
</div>
{/if}
<div class="left"><label for="firstname" title="{$ENTRY_FIRST_NAME_ERROR}">{#text_firstname#}</label></div>
<div class="center">{$INPUT_FIRSTNAME}</div>
{if $secondname=='1'}
<div class="left">{#text_secondname#}</div>
<div class="center">{$INPUT_SECONDNAME}</div>
{/if}
<div class="left"><label for="lastname" title="{$ENTRY_LAST_NAME_ERROR}">{#text_lastname#}</label></div>
<div class="center">{$INPUT_LASTNAME}</div>
{if $birthdate=='1'}
<div class="left"><label for="dob" title="{$ENTRY_DATE_OF_BIRTH_ERROR}">{#text_birthdate#}</label></div>
<div class="center">{$INPUT_DOB}</div>
{/if}
<div class="left"><label for="email" title="{$ENTRY_EMAIL_ADDRESS_ERROR}">{#text_email#}</label></div>
<div class="center">{$INPUT_EMAIL}</div>
</div>
{if $company=='1'}
<strong>{#title_company#}</strong>
<div>
<div class="left">{#text_company#}</div>
<div class="center">{$INPUT_COMPANY}</div>
{if $vat=='1'}
<div class="left">{#text_ustid#}</div>
<div class="center">{$INPUT_VAT}</div>
{/if}
</div>
{/if}
{if $street_address=='1'}
<strong>{#title_address#}</strong>
<div>
<div class="left"><label for="address" title="{$ENTRY_STREET_ADDRESS_ERROR}">{#text_street#}</label></div>
<div class="center">{$INPUT_STREET}</div>
{if $suburb=='1'}
<div class="left">{#text_suburb#}</div>
<div class="center">{$INPUT_SUBURB}</div>
{/if}
{if $postcode=='1'}
<div class="left"><label for="postcode" title="{$ENTRY_POST_CODE_ERROR}">{#text_code#}</label></div>
<div class="center">{$INPUT_CODE}</div>
{/if}
{if $country=='1'}
<div class="left"><label for="country" title="{$ENTRY_COUNTRY_ERROR}">{#text_country#}</label></div>
<div class="center">{$SELECT_COUNTRY}{$SELECT_COUNTRY_NOSCRIPT}</div>
{/if}
{if $state=='1'}
<div class="left"><label for="state" title="{$ENTRY_STATE_ERROR_SELECT}">{#text_state#}</label></div>
<div class="center"><span id="stateXML">{$INPUT_STATE}</span></div>
{/if}
{if $city=='1'}
<div class="left"><label for="city" title="{$ENTRY_CITY_ERROR}">{#text_city#}</label></div>
<div class="center">{$INPUT_CITY}</div>
{/if}
</div>
{/if}

{if $telephone=='1'}
<strong>{#title_contact#}</strong>
{/if}
<div>
{if $telephone=='1'}
<div class="left"><label for="telephone" title="{$ENTRY_TELEPHONE_NUMBER_ERROR}">{#text_tel#}</label></div>
<div class="center">{$INPUT_TEL}</div>
{/if}
{if $fax=='1'}
<div class="left">{#text_fax#}</div>
<div class="center">{$INPUT_FAX}</div>
{/if}

{if $INPUT_CUSTOMERS_EXTRA_FIELDS}
{foreach item=customers_extra_filelds from=$INPUT_CUSTOMERS_EXTRA_FIELDS}
<div class="left">{$customers_extra_filelds.NAME}:</div>
<div class="center">{$customers_extra_filelds.VALUE}</div>
{/foreach}
{/if}
</div>
<strong>{#title_password#}</strong>
<div>
<div class="left"><label for="pass" title="{$ENTRY_PASSWORD_ERROR}">{#text_password#}</label></div>
<div class="center">{$INPUT_PASSWORD}</div>
<div class="left"><label for="confirmation" title="{$ENTRY_PASSWORD_ERROR_NOT_MATCHING}">{#text_confirmation#}</label></div>
<div class="center">{$INPUT_CONFIRMATION}</div>
<div class="button"><input name="op" value="finnewuser" type="hidden"><input value="Новий користувач" class="fbutton" type="submit"></div>
</div>

</div>
{$FORM_END}